package com.ayq.activiti.manager.vo;

import com.ayq.activiti.manager.entity.FlowInfoEntity;
import com.ayq.activiti.manager.entity.NodeInfoEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 *
 * <p>获取活动节点信息</p>
 * @Author ayq
 * @Date 2021/4/16 10:24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "获取活动节点信息-结果视图实体",description = "获取活动节点信息-结果视图实体")
public class ActivitiNodeInfoVO implements Serializable {

    private static final long serialVersionUID = -1707874713993598055L;

    @ApiModelProperty("流程实例ID")
    private String processInstanceId;

    @ApiModelProperty("业务KEY")
    private String businessKey;

    @ApiModelProperty("审批状态 2 审批状态 3 流程正常结束 5 驳回状态")
    private Integer status;

    @ApiModelProperty("高亮线集合")
    private List<FlowInfoEntity> highLightedFlowInfos;

    @ApiModelProperty("高亮节点信息集合")
    private List<NodeInfoEntity> highLightedNodeInfos;


}
